 <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">

        <!-- Sidebar user panel (optional) -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="bootstrap/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
            </div>
            <div class="pull-left info">    
                <p>DuyAnhStar</p>
                <!-- Status -->
                <a href="userInfo.html"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>

        <!-- search form (Optional) -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search..." />
                <span class="input-group-btn">
                  <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                </span>
            </div>
        </form>
        <!-- /.search form -->

        <!-- Sidebar Menu -->
        <ul class="sidebar-menu">
            <li class="header">CONTROL ADMIN</li>
            <!-- Optionally, you can add icons to the links -->

            <li class="active">
                <a href="<?php echo base_url('admin');?>">
                    <i class="fa fa-dashboard"></i> <span>Dashboard</span> <i class="fa fa-bar-chart pull-right"></i>
                </a>
            </li>

            <li class="treeview">
                <a href="<?php echo base_url('admin/request');?>">
                    <i class="ion ion-help-buoy"></i> <span>Request Member</span> <i class="fa fa-comment pull-right"></i>
                </a>
            </li><!-- / Request Member -->

            <li class="treeview">
                <a href="page.html"><i class='ion ion-document-text'></i> <span>Page</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li><a href="<?php echo base_url('admin/pages/add');?>"><i class="glyphicon glyphicon-duplicate"></i> add Page</a></li>
                    <li><a href="<?php echo base_url('admin/pages');?>"><i class="fa fa-list"></i> List Member</a></li>
                </ul>
            </li>
            <!-- / page-->
            <!-- / page-->

            <li class="treeview">
                <a href="javascript:void(0)"><i class='glyphicon glyphicon-user'></i> <span>Member</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li><a href="javascript:void(0)" onclick="Add()"><i class="fa fa-user-plus"></i> add Member</a></li>
                    <li><a href="memberGroup.html"><i class="fa fa-users"></i> Group Member</a></li>
                    <li><a href="<?php echo base_url('admin/users');?>"><i class="fa fa-list"></i> List Member</a></li>
                </ul>
            </li>
            <!-- / Member-->

            <li class="treeview">
                <a href="media.html"><i class='glyphicon glyphicon-play-circle'></i> <span>Media</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li><a href="<?php echo base_url('admin/media/add');?>"><i class="glyphicon glyphicon-plus-sign"></i> add Media</a></li>
                    <li><a href="<?php echo base_url('admin/media');?>"><i class="fa fa-list"></i> list Media</a></li>
                    <li><a href="<?php echo base_url('admin/media/slider');?>"><i class="fa fa-sliders"></i> Media on Slider</a></li>
                </ul>
            </li>
            <!-- / Media-->

            <li class="treeview">
                <a href="film.html">
                    <i class="glyphicon glyphicon-film"></i>
                    <span>Manager Film</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
                <ul class="treeview-menu">
                    <li>
                        <a href="<?php echo base_url('admin/film/add');?>" title="Click if you want to add a new film">
                        <i class="glyphicon glyphicon-plus"></i> Add Film</a>
                    </li>
                    <li>
                        <a href="<?php echo base_url('admin/film');?>" title="Click if you want to view list Film">
                        <i class="glyphicon glyphicon-list-alt"></i> List Film</a>
                    </li>
                    <li>
                        <a href="filmHot.html" title="Click if you want to view list Hot Film">
                        <i class="glyphicon glyphicon-star-empty"></i> Hot Film</a>
                    </li>
                    <li>
                        <a href="filmSlider.html" title="Click if you want to view list Hot Film">
                        <i class="fa fa-sliders"></i> Film on slider</a>
                    </li>
                    <li>
                        <a href="filmDepute.html" title="Click if you want to view list depute Film">
                        <i class="glyphicon glyphicon-tag"></i> Depute Film</a>
                    </li>
                    <li>
                        <a href="filmUnfulfilled.html" title="Click if you want to view Unfulfilled episode">
                        <i class="fa fa-plus-square-o"></i> Unfulfilled episode</a>
                    </li>
                </ul>
            </li>
            <!-- /manager film -->

            <li class="treeview">
                <a href="category.html">
                <i class='fa fa-folder'></i><span> Category</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li><a href="<?php echo base_url('admin/category/add');?>"><i class="glyphicon glyphicon-plus"></i> add Category</a></li>
                    <li><a href="<?php echo base_url('admin/category');?>"><i class="glyphicon glyphicon-list-alt"></i> List Category</a></li>
                </ul>
            </li>
            <!-- / Category Film-->

            <li class="treeview">
                <a href="server.html"><i class='fa fa-server'></i> <span>Server Film</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li><a href="<?php echo base_url('admin/server/add');?>"><i class="glyphicon glyphicon-plus"></i> add Server</a></li>
                    <li><a href="<?php echo base_url('admin/server');?>"><i class="glyphicon glyphicon-list-alt"></i> List Server</a></li>
                </ul>
            </li>
            <!-- / Server Film-->

            <li class="treeview">
                <a href="country.html"><i class='fa fa-link'></i> <span>Country</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li><a href="<?php echo base_url('admin/country/add');?>"><i class="glyphicon glyphicon-plus"></i> add Country</a></li>
                    <li><a href="<?php echo base_url('admin/country');?>"><i class="glyphicon glyphicon-list-alt"></i> List Country</a></li>
                </ul>
            </li>
            <!-- / Country-->

            <li class="treeview">
                <a href="#"><i class='fa fa-cog'></i> <span>Config System</span> <i class="fa fa-angle-left pull-right"></i></a>
                <ul class="treeview-menu">
                    <li><a href="countryInfo.html"><i class="glyphicon glyphicon-info-sign"></i> Info Site</a></li>
                    <li><a href="countryContact.html"><i class="glyphicon glyphicon-envelope"></i> Info Contact</a></li>
                </ul>
            </li>
            <!-- / Config System-->

        </ul>
        <!-- /.sidebar-menu -->
    </section>
    <!-- /.sidebar -->
</aside>
<script  type="text/javascript">
    function Add(){
        $(".content-wrapper").mask("<?php echo 'Loading...'; ?>");
        $('.content-wrapper').load("<?php echo base_url('admin/users/add');?>",function(){
            $(".content-wrapper").unmask();
        });
    }
</script>